package qldc.pm.tienan.model.impl;

import com.liferay.portal.kernel.exception.SystemException;

import qldc.pm.tienan.model.TEMP_DoiTuongTienAn;
import qldc.pm.tienan.service.TEMP_DoiTuongTienAnLocalServiceUtil;

/**
 * The extended model base implementation for the TEMP_DoiTuongTienAn service. Represents a row in the &quot;TA_TEMP_DoiTuongTienAn&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link TEMP_DoiTuongTienAnImpl}.
 * </p>
 *
 * @author Brian Wing Shun Chan
 * @see TEMP_DoiTuongTienAnImpl
 * @see qldc.pm.tienan.model.TEMP_DoiTuongTienAn
 * @generated
 */
public abstract class TEMP_DoiTuongTienAnBaseImpl
    extends TEMP_DoiTuongTienAnModelImpl implements TEMP_DoiTuongTienAn {
    /*
     * NOTE FOR DEVELOPERS:
     *
     * Never modify or reference this class directly. All methods that expect a t e m p_ doi tuong tien an model instance should use the {@link TEMP_DoiTuongTienAn} interface instead.
     */
    @Override
    public void persist() throws SystemException {
        if (this.isNew()) {
            TEMP_DoiTuongTienAnLocalServiceUtil.addTEMP_DoiTuongTienAn(this);
        } else {
            TEMP_DoiTuongTienAnLocalServiceUtil.updateTEMP_DoiTuongTienAn(this);
        }
    }
}
